package com.trivera.guice;

import com.google.inject.Guice;
import com.google.inject.Injector;

/**
* <p>
 * This component and its source code representation are copyright protected
 * and proprietary to Trivera Technologies, Inc., Worldwide
 *
 * This component and source code may be used for instructional and
 * evaluation purposes only. No part of this component or its source code
 * may be sold, transferred, or publicly posted, nor may it be used in a
 * commercial or production environment, without the express written consent
 * of the Trivera Technologies, Inc.
 *
 * Copyright (c) 2013 Trivera Technologies, Inc.
 * http://www.triveratech.com   http://www.triveragroup.com
 * </p>
 * @author The Trivera Tech Team.
 */

public class ATMDriver {

	public static void main(String[] args) {
		Injector injector = Guice.createInjector(new ATMTransportModule());
		AutomatedTellerMachine atm = 
				injector.getInstance(AutomatedTellerMachineImpl.class);
// not needed		injector.injectMembers(atm);

		atm.deposit(45000.00);

	}

}
